﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Domain
{
    [DataContract(Name="Department", Namespace="tstNS")]
    public class Department
    {
        [DataMember]
        public int DepartmentID { get; set; }
        [DataMember]
        public string Name { get; set; }
        [DataMember]
        public Decimal Budget { get; set; }
        [DataMember]
        public DateTime StartDate { get; set; }
        [DataMember]
        public int Administrator { get; set; }

        [DataMember]
        public ICollection<Course> Courses { get; set; }

    }
}
